package com.lqd.mall.system;

import com.lqd.mall.basis.response.Result;
import com.lqd.mall.interaction.basis.vo.TableDataInfoVo;
import com.lqd.mall.interaction.system.SysRoleEntity;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 零起点
 * @create 2022-03-22 22:49
 */
@RequestMapping("role")
@Api(tags = "用户角色管理")
public interface SysRoleControllerApi {

    @GetMapping("list")
    @ApiOperation("获取角色列表")
    Result<TableDataInfoVo<SysRoleEntity>> list(SysRoleEntity entity);

}
